package com.nervenets.web.controller.type;

import com.nervenets.web.controller.PagingParams;
import com.nervenets.web.controller.UserPagingParams;
import com.nervenets.web.enumeration.TypeType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = true)
@Data
public class TypePagingParams extends PagingParams {
    @ApiModelProperty(value = "分类的类别", required = true)
    @NotNull(message = "不为能空")
    private TypeType type;
    @ApiModelProperty(value = "父级ID", required = true)
    private long parentId;
    @ApiModelProperty(value = "是否为系统分类", required = true)
    private boolean system;
    @ApiModelProperty(value = "创建人ID", required = true)
    private long managerId;
}
